package com.youlu.campus.admin.tencentcloud.service;

import com.youlu.campus.admin.tencentcloud.entity.DnsRecordQueryVo;
import com.youlu.campus.admin.tencentcloud.entity.TencentDomainItem;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 腾讯域名项服务
 *
 * @Description: TencentDomainItemService
 * @Date 2025/11/3
 * @module TencentDomainItemService
 * @author: su
 */
public interface TencentDomainItemService {

    /**
     * 删除所有
     */
    void deleteAll();

    /**
     * 保存所有
     *
     * @param list
     */
    void insertAll(List<TencentDomainItem> list);


    /**
     * 分页查询
     *
     * @param queryVo
     * @return
     */
    Page<TencentDomainItem> findByPage(DnsRecordQueryVo queryVo);
}
